.mm-textarea {
  $resize: none, both, horizontal, vertical, initial, inherit;

  max-width: 100%;

  &--is-disabled,
  &:disabled {
    opacity: var(--opacity-disabled);
    cursor: not-allowed;
  }

  @each $size in $resize {
    &--resize-#{$size} {
      resize: $size;
    }
  }
}
